
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">
<body>

	<ui:composition template="template/template-principal.xhtml">

		<ui:define name="miolo">
		
		<div align="center">		
			<h:graphicImage value="/imagens/user.png" width="100px;"/><br/><br/> 
			
					<h:panelGrid columns="3" width="600" columnClasses="coluna1, coluna2, coluna3, coluna4" styleClass="texto" >	
						   
					    <h:outputText id="texto" value="Nome Completo:"/>					   
					    <h:inputText id="inNome" value="#{loginManagedbean.usuario.nome}" required="true" label="#{msgs.nome}" style=" width : 200px; height : 35px; font-size: 14px;" />						
					  	<h:message for="inNome" styleClass="erro"/>		
					  					
						
						<h:outputText id="texto" value="E-mail: " />
						<h:inputText id="inEmail" value="#{loginManagedbean.login.email}" required="true" label="#{msgs.email}" valueChangeListener="#{loginManagedbean.validacaoEmail}"  style=" width : 200px; height : 35px; font-size: 14px;"/>
						<h:message for="inEmail" styleClass="erro" />
						
						<h:outputText id="outSenha" value="Senha: " />
						<h:inputSecret id="inSenha" value="#{loginManagedbean.senha}" required="true" label="#{msgs.senha}" valueChangeListener="#{loginManagedbean.validacaoSenha}"  style=" width : 200px; height : 35px; font-size: 14px;"/>
						<h:message for="inSenha" styleClass="erro" />
						
						<h:outputText id="outConfirmarSenha" value="Confirmar Senha: " />
						<h:inputSecret id="inConfirmacaoSenha" value="#{loginManagedbean.confirmarSenha}" valueChangeListener="#{loginManagedbean.confirmacaoSenha}" label="#{msgs.confirmarSenha}" required="true"  style=" width : 200px; height : 35px; font-size: 14px;"/>
						<h:message for="inConfirmacaoSenha" styleClass="erro" />
					</h:panelGrid>

	     </div>

				<!-- <p:captcha label="Captcha" theme="blackglass" requiredMessage="O captcha deve ser preenchido!" publicKey="6Ld7pMESAAAAAHd1VihJkqPUXAJVwU3Cghc8fzrq"/> -->
				<!-- 6LfwZwoAAAAAAI-oUHpdvRnkMfu9fXQHxc0P7IBu"-->
				<!-- 6Lfv4QQAAAAAAFbDvLx23vDVUwf2FL5YJAzMZG69 -->

				<div align="center">
					<h:commandButton id="cmdCadastrarLogin" action="#{loginManagedbean.cadastrarLogin}" value="Salvar" style=" width : 150px; height : 40px;"/>
				</div>
			

		</ui:define>

	</ui:composition>

</body>
</html>
